#ifndef UTILITIES_CONVERSION_H
#define UTILITIES_CONVERSION_H

#include <string>
#include <sstream>

namespace util
{
	template < typename TYPE >
	TYPE ConvertFromStringTo( const std::string& string )
	{
		TYPE converted;

		std::stringstream conversionStream;
		conversionStream << string;
		conversionStream >> converted;

		return converted;
	}
}

#endif // UTILITIES_CONVERSION_H
